package com.xiaoshuidi.cloud.module.finance.controller.app.finance.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;


/**
 * @author 57299
 * @date 2023/09/12
 */
@Schema(description = "余额提现")
@Data
public class AppFinanceAccountRefundReqVO {

    /**
     * 金额
     */
    @Schema(description = "退款金额")
    @NotNull(message = "退款金额必需大于0")
    @DecimalMin(value = "0", message = "退款金额必需大于0")
    private BigDecimal refundAmount;

    /**
     * 收款人
     */
    @NotBlank(message = "收款人不能为空")
    @Schema(description = "收款人")
    private String payeeName;
    /**
     * 收款银行名(金蝶维护)
     */
    @NotBlank(message = "收款银行名不能为空")
    @Schema(description = "收款银行名")
    private String payeeBank;
    /**
     * 收款银行支行名
     */
    @NotBlank(message = "收款银行支行不能为空")
    @Schema(description = "收款银行支行名(金蝶维护)")
    private String payeeBankBranch;
    /**
     * 收款银行行号(金蝶维护)
     */
    @NotBlank(message = "收款银行行号不能为空")
    @Schema(description = "收款银行行号(金蝶维护)")
    private String payeeBankCode;
    /**
     * 收款银行所在省(金蝶维护)
     */
    @NotBlank(message = "收款银行所在省不能为空")
    @Schema(description = "收款银行所在省(金蝶维护)")
    private String payeeBankProvince;
    /**
     * 收款银行所在市(金蝶维护)
     */
    @NotBlank(message = "收款银行所在市不能为空")
    @Schema(description = "收款银行所在市(金蝶维护)")
    private String payeeBankCity;
    /**
     * 收款账号
     */
    @NotBlank(message = "收款账号不能为空")
    @Schema(description = "收款账号")
    private String payeeBankAccount;

    /**
     * 收款手机号
     */
    @NotBlank(message = "收款手机号不能为空")
    @Schema(description = "收款手机号")
    private String payeeMobile;
}
